package com.wsj.a.collapsingdemo.widget.recycler.recycler;

import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;

/**
 * 
 */

public class XWebView extends WebView {

	public XWebView(Context context) {
		super(context);
	}

	public XWebView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	public XWebView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public boolean isBottom() {
		return computeVerticalScrollRange() == getHeight() + getScrollY();
	}

	@Override
	public int computeVerticalScrollRange() {
		return super.computeVerticalScrollRange();
	}
}
